using System;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for ChargeDao
/// </summary>
public class ChargeDao
{
    public ChargeDao() { }

    public DataTable LoadChargesByAreaID(decimal areaId)
    {
        string proc = "sp_LoadChargesByAreaID";
        SqlParameter p = new SqlParameter("@AreaID", SqlDbType.Decimal);
        p.Value = areaId;
        DataSet ds = DbProvider.LoadData(proc, p);
        return ds.Tables[0];
    }
}
